Custom Browser Properties

In addition to the standard VoiceXML properties, Vocalocity provides custom properties that can be used by application developers. These are included in the vocalos-node.xml file, under <node name=BrowserProperties>.

Entry

Default

Description

vocalos.event.maxcount

10

The maximum number of times a single event is called from within the same execution context.

For more information, see Infinite Loop Detection.

vocalos.url.maxlength

2000 bytes

The maximum length, in bytes, to retrieve using an HTTP GET.

When the URL is longer than the maximum set here, the HTTP GET will be converted to an HTTP POST before submit.

Specifying the ASR or TTS Engine to Use

If you have ASR or TTS engines from different vendors connected to one VocalOS Server, you should specify which ASR or TTS engine to use for each VoiceXML application.

Important: This is required only if you use multiple ASR or TTS vendors.

To specify the engine, add the asrengine and ttsengine properties to your VoiceXML pages:

<property name="asrengine" value="vendor-name"/>

<property name="ttsengine" value="vendor-name"/>

For example, if you have SpeechWorks OSR and LumenVox SRE installed in your environment, and you want SpeechWorks to handle certain pages, add the following property to those VoiceXML pages:

<property name="asrengine" value="speechworks"/>

ASR Engines

The following table lists the supported engines and the value to enter for each.

Engine

Values

SpeechWorks OSR

Any of these values:

n scansoft

n speechworks

n osr

LumenVox SRE

lumenvox

Nuance

nuance

Vocalocity’s DTMF-only

vocalocity

TTS Engines

The following table lists the supported engines and the value to enter for each.

Engine

Value

SpeechWorks Speechify 2.1 and 3.0

speechify

ScanSoft RealSpeak 4.0

scansoft

VoiceWare

Any of these values:

n neospeech

n voicetext

n voiceware

Defaults Used when No Engine Is Specified

If you do not specify the engine and:

u You are using only one vendor’s TTS or ASR engine, the Vocalocity Voice Browser will default to that engine.

u You installed TTS or ASR engines from different vendors, the Vocalocity Voice Browser runs through options in this order until it gets to one that is installed. For:

n ASR – SpeechWorks, Nuance, LumenVox, Vocalocity DTMF

n TTS – SpeechWorks Speechify, ScanSoft RealSpeak, VoiceWare

If the selected engine is not available, an error.noresource.asr or error.noresource.tts will be raised in the VoiceXML application.